package com.woniuxy.jiapei.service.impl;

import com.woniuxy.jiapei.pojo.OrderDisplay;
import com.woniuxy.jiapei.pojo.Orders;
import com.woniuxy.jiapei.mapper.OrdersMapper;
import com.woniuxy.jiapei.service.OrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lr
 * @since 2020-10-22
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {
    @Autowired
    OrdersMapper ordersMapper;

    @Override
    public List<OrderDisplay> getOrderList() {
        List<OrderDisplay> orderList = ordersMapper.getOrderList();
        return orderList;
    }
}
